home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 June / CHIP Haziran 2001.iso / prog / share / 04 / setup.exe / MM9.Cab / F1459_links.asp.9B3B646D_CB56_4EAE_BAB7_3E7E8E41A649 < prev    next >
Text File  |  2000-08-17  |  3KB  |  72 lines

  1. <!-- #INCLUDE VIRTUAL="/golive/config/include/utils.runtime5.asp" -->
  2. <!-- #INCLUDE VIRTUAL="/golive/config/include/ado.runtime5.asp" -->
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  4. <html>
  5.  
  6.     <head>
  7.         <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  8.         <meta name="generator" content="Adobe GoLive 5">
  9.         <title>Navigating Through an Item List</title>
  10.         <meta name="site-config-URL" content="http://localhost/golive/config/">
  11.         <%'Dynamic Link
  12.            set Product_InformationRecordSet = CreateObject("ADODB.RecordSet")
  13.            Product_InformationRecordSet.Open "select * from Products where Category = 'Saw Blades'", ConnectString("LooseScrews")
  14.            set Product_Information = WrapRecordSet(Product_InformationRecordSet, "ProductID")
  15.            Product_Information.Move GetRecordIndex() - 1
  16.         %>
  17.     </head>
  18.  
  19.     <body bgcolor="white">
  20.         <table border="0" cellpadding="15" cellspacing="0">
  21.             <tr>
  22.                 <td colspan="2" valign="top">
  23.                     <h2><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Navigating Through an Item List</font></h2>
  24.                 </td>
  25.             </tr>
  26.             <tr>
  27.                 <td width="194" valign="top"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">
  28.                     <table border="0" cellpadding="5" cellspacing="0">
  29.                         <tr>
  30.                             <td valign="top">1.</td>
  31.                             <td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Create links that the user should click on to go the previous and next records.</font></td>
  32.                         </tr>
  33.                         <tr>
  34.                             <td valign="top">2.</td>
  35.                             <td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Select the link for the previous record.</font></td>
  36.                         </tr>
  37.                         <tr>
  38.                             <td valign="top">3.</td>
  39.                             <td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Check the Link Action option in the Binding Details tab of the Dynamic Link palette, selecting Previous Record from the pulldown menu.</font></td>
  40.                         </tr>
  41.                         <tr>
  42.                             <td valign="top">4.</td>
  43.                             <td><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Repeat step 3 with the link to the next record.</font></td>
  44.                         </tr>
  45.                     </table>
  46.                     </font></td>
  47.                 <td valign="top">
  48.                     <table border="1" cellpadding="10" cellspacing="0">
  49.                         <tr>
  50.                             <td bgcolor="#cccc99"><font face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular"><b>Dynamic Output</b></font></td>
  51.                         </tr>
  52.                         <tr>
  53.                             <td valign="top"><a <%=LinkToPreviousRecord(Product_Information)%>>previous</a> | <a <%=LinkToNextRecord(Product_Information)%>>next</a>
  54.                                 <p>Product Type: <%=Product_Information.Value("Type")%><br>Price: $<%=Product_Information.Value("Price")%><br>
  55.                                 </p>
  56.                                 <p><img src='<%=Product_Information.Value("ImageURL")%>'></td>
  57.                         </tr>
  58.                     </table>
  59.                     <p><img height="11" width="153" src="images/copyright.gif"></td>
  60.             </tr>
  61.         </table>
  62.     </body>
  63.  
  64. </html>
  65. <% if 0 then %>
  66. <!-- Mock Content
  67.    Product_Information:Type {Rubber Ducky}
  68.    Product_Information:Price {100}
  69.    Product_Information:ImageURL {images/ducky.jpg}
  70. -->
  71. <% end if %>
  72.